from odoo import fields, models, api, _
from odoo.exceptions import UserError, ValidationError


class sb_inv_picking_list_report(models.AbstractModel):
    _name = 'report.sb_sale.sb_inv_picking_list_report'
    _description = 'sb_inv_picking_list_report'

    @api.model
    def _get_report_values(self, docids, data=None):
        docs = self.env['ship.instructions'].browse(docids)

        return {
            'doc_model': 'ship.instructions',
            'docs': docs,
            'data': data,
        }
